<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Created by : Sandi Rizky Kharisma (sandi.informatics08@gmail.com)
 * This Class Generated for CRUD purpose only
 */
class bukti_transaksi extends CI_Controller
{
    public function __construct()
    {
        parent::__construct();

        $this->load->library('auth');
        $this->load->library('base');
        $this->load->library('ajaxresponse');
        $this->load->library('datatables');
        $this->load->model('crud/m_bukti_transaksi');
    }

    public function get_all()
    {
        $this->auth->is_logged_in('form/login');
        $this->response = new ajaxresponse();
        $this->response->data = $this->m_bukti_transaksi->get()->result();
        echo json_encode($this->response);
    }
    
}
?>